OpenRoads Designer CONNECT Edition SDK Help

CreateByCubicInterpolation Method

Constructs a BSpline element

Definition

Namespace: Bentley.CifNET.LinearGeometry Assembly: Bentley.CifNET.LinearGeometry.4.0 (in Bentley.CifNET.LinearGeometry.4.0.dll) Version: 1.0.0.0 (99.99.99.99)

C#

public static  BSpline CreateByCubicInterpolation( DPoint3d[] points, DVector3d[] tangents,bool closedCurve,bool colinearTangents,bool chordLenTangents,bool naturalTangents)

Parameters

SettingDescription
  DPoint3d[] Array of points that make the BSpline
  DVector3d[] The two end tangents constraints
   True if the BSpline is closed
   T: ensure colinear computed end tangents (zero/NULL endTangent(s), geometrically closed spline)
   T/F: scale endTangent by chordlen/bessel (nonzero endTangent, open spline)
   T/F: compute natural/bessel endTangent (zero/NULL endTangent, open spline)

Return Value

BSpline

See Also